<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>v-if</title>
<script src="../js/vue.js"></script>
</head>
<body>
<div id="app">

	<p v-show="ok">v-show</p>
 　 <button v-on:click='Toggle()'>Toggle</button>
　  <p>ok：{{ok}}</p>	
</div>
<script>
new Vue({
  el: '#app',
  data: {
      message:'www.flrj.net',
	  ok:true
  },
  methods:{
	Toggle:function(){
		this.ok=!this.ok;
	}
  
  }
})
</script>
</body>
</html>
